package cn.stylefeng.guns.modular.character.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LinuY
 * @since 2020-06-21
 */
@TableName("stockman_character")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Character extends Model<Character> {

    private static final long serialVersionUID = 1L;

    private String characterName;
    private String privileges;

    @Override
    protected Serializable pkVal() {
        return this.characterName;
    }

}
